--- /dev/null
- __bss_end__ = .;
+ /*
+ * (C) Copyright 2002
+ *
+ * (C) Copyright 2010
+ * Texas Instruments, <www.ti.com>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+ MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
+ LENGTH = CONFIG_SPL_MAX_SIZE }
+ MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \
+ LENGTH = CONFIG_SPL_BSS_MAX_SIZE }
+
+ OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
+ OUTPUT_ARCH(arm)
+ ENTRY(_start)
+ SECTIONS
+ {
+ .text :
+ {
+ __start = .;
+ arch/arm/cpu/armv7/start.o (.text)
+ *(.text*)
+ } >.sram
+
+ . = ALIGN(4);
+ .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
+
+ . = ALIGN(4);
+ .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
+
+ .u_boot_list : {
+ KEEP(*(SORT(.u_boot_list*)));
+ } >.sram
+
+ . = ALIGN(4);
+ __image_copy_end = .;
+ _end = .;
+
+ .bss :
+ {
+ . = ALIGN(4);
+ __bss_start = .;
+ *(.bss*)
+ . = ALIGN(4);
++ __bss_end = .;
+ } >.sdram
+ }
--- /dev/null
- __bss_end__ = .;
+ /*
+ * Copyright (c) 2004-2008 Texas Instruments
+ *
+ * (C) Copyright 2002
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+ OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
+ OUTPUT_ARCH(arm)
+ ENTRY(_start)
+ SECTIONS
+ {
+ . = 0x00000000;
+
+ . = ALIGN(4);
+ .text :
+ {
+ __image_copy_start = .;
+ CPUDIR/start.o (.text*)
+ *(.text*)
+ }
+
+ . = ALIGN(4);
+ .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
+
+ . = ALIGN(4);
+ .data : {
+ *(.data*)
+ }
+
+ . = ALIGN(4);
+
+ . = .;
+
+ __image_copy_end = .;
+
+ .rel.dyn : {
+ __rel_dyn_start = .;
+ *(.rel*)
+ __rel_dyn_end = .;
+ }
+
+ .dynsym : {
+ __dynsym_start = .;
+ *(.dynsym)
+ }
+
+ _end = .;
+
+ /*
+ * Deprecated: this MMU section is used by pxa at present but
+ * should not be used by new boards/CPUs.
+ */
+ . = ALIGN(4096);
+ .mmutable : {
+ *(.mmutable)
+ }
+
+ .bss __rel_dyn_start (OVERLAY) : {
+ __bss_start = .;
+ *(.bss*)
+ . = ALIGN(4);
-ASSERT(__bss_end__ < (CONFIG_SPL_TEXT_BASE + CONFIG_SPL_MAX_SIZE), "SPL image too big");
++ __bss_end = .;
+ }
+
+ /DISCARD/ : { *(.dynstr*) }
+ /DISCARD/ : { *(.dynamic*) }
+ /DISCARD/ : { *(.plt*) }
+ /DISCARD/ : { *(.interp*) }
+ /DISCARD/ : { *(.gnu*) }
+ }
+
+ #if defined(CONFIG_SPL_TEXT_BASE) && defined(CONFIG_SPL_MAX_SIZE)
++ASSERT(__bss_end < (CONFIG_SPL_TEXT_BASE + CONFIG_SPL_MAX_SIZE), "SPL image too big");
+ #endif
--- /dev/null
-char __bss_end__[0] __attribute__((used, section(".__bss_end__")));
+ /*
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+ /**
+ * These two symbols are declared in a C file so that the linker
+ * uses R_ARM_RELATIVE relocation, rather than the R_ARM_ABS32 one
+ * it would use if the symbols were defined in the linker file.
+ * Using only R_ARM_RELATIVE relocation ensures that references to
+ * the symbols are correct after as well as before relocation.
+ *
+ * We need a 0-byte-size type for these symbols, and the compiler
+ * does not allow defining objects of C type 'void'. Using an empty
+ * struct is allowed by the compiler, but causes gcc versions 4.4 and
+ * below to complain about aliasing. Therefore we use the next best
+ * thing: zero-sized arrays, which are both 0-byte-size and exempt from
+ * aliasing warnings.
+ */
+
+ char __bss_start[0] __attribute__((used, section(".__bss_start")));
++char __bss_end[0] __attribute__((used, section(".__bss_end")));
easily if here is something they might want to dig for...
- Board Arch CPU removed Commit last known maintainer/contact
- =============================================================================
- IAD210 powerpc mpc860 - - -
- SX1 arm arm925t - -
- tb0229 mips mips32 3f3110d 2011-12-12
- OXC powerpc MPC8240 309a292 2011-12-07
- BAB7xx powerpc MPC740/MPC750 c53043b 2011-12-07 Frank Gottschling <
[email protected]>
- xm250 arm pxa c746cdd 2011-25-11
- pleb2 arm pxa b185a1c 2011-25-11
- zylonite arm pxa b66521a 2011-09-05
- lpc2292sodimm arm arm720t d1a067a 2011-09-05
- SMN42 arm arm720t 6aac646 2011-09-05
- at91rm9200dk arm arm920t 1c85752 2011-07-17
- m501sk arm arm920t b1a2bd4 2011-07-17
- kb9202 arm arm920t 5bd3814 2011-07-17
- csb637 arm arm920t d14af08 2011-07-17
- cmc_pu2 arm arm920t 37a9b4d 2011-07-17
- voiceblue arm arm925t 1b793a4 2011-07-17
- sbc2410x arm arm920t 1f7f0ed 2011-07-17
- netstar arm arm925t 6ea2405 2011-07-17
- mx1fs2 arm arm920t 6962419 2011-07-17
- lpd7a404 arm lh7a40x 957731e 2011-07-17
- edb9301 arm arm920t 716f7ad 2011-07-17
- edb9302 arm arm920t 716f7ad 2011-07-17
- edb9302a arm arm920t 716f7ad 2011-07-17
- edb9307 arm arm920t 716f7ad 2011-07-17
- edb9307a arm arm920t 716f7ad 2011-07-17
- edb9312 arm arm920t 716f7ad 2011-07-17
- edb9315 arm arm920t 716f7ad 2011-07-17
- edb9315a arm arm920t 716f7ad 2011-07-17
- xsengine ARM PXA2xx 4262a7c 2010-10-20
- delta ARM PXA2xx 75e2035 2010-10-20
- VoVPN-GW_100MHz powerpc MPC8260 26fe3d2 2010-10-24 Juergen Selent <
[email protected]>
- spieval powerpc MPC5200 69434e4 2010-09-19
- smmaco4 powerpc MPC5200 9ddc3af 2010-09-19
- AmigaOneG3SE 953b7e6 2010-06-23
+ Board Arch CPU Commit Removed Last known maintainer/contact
+ =================================================================================================
+ IAD210 powerpc mpc860 1b0757e 2012-10-28 -
+ SX1 arm arm925t 53c4154 2012-10-26
+ tb0229 mips mips32 3f3110d 2011-12-12
+ OXC powerpc MPC8240 309a292 2011-12-07
+ BAB7xx powerpc MPC740/MPC750 c53043b 2011-12-07 Frank Gottschling <
[email protected]>
+ xm250 arm pxa c746cdd 2011-25-11
+ pleb2 arm pxa b185a1c 2011-25-11
+ zylonite arm pxa b66521a 2011-09-05
+ lpc2292sodimm arm arm720t d1a067a 2011-09-05
+ SMN42 arm arm720t 6aac646 2011-09-05
+ at91rm9200dk arm arm920t 1c85752 2011-07-17
+ m501sk arm arm920t b1a2bd4 2011-07-17
+ kb9202 arm arm920t 5bd3814 2011-07-17
+ csb637 arm arm920t d14af08 2011-07-17
+ cmc_pu2 arm arm920t 37a9b4d 2011-07-17
+ voiceblue arm arm925t 1b793a4 2011-07-17
+ sbc2410x arm arm920t 1f7f0ed 2011-07-17
+ netstar arm arm925t 6ea2405 2011-07-17
+ mx1fs2 arm arm920t 6962419 2011-07-17
+ lpd7a404 arm lh7a40x 957731e 2011-07-17
+ edb9301 arm arm920t 716f7ad 2011-07-17
+ edb9302 arm arm920t 716f7ad 2011-07-17
+ edb9302a arm arm920t 716f7ad 2011-07-17
+ edb9307 arm arm920t 716f7ad 2011-07-17
+ edb9307a arm arm920t 716f7ad 2011-07-17
+ edb9312 arm arm920t 716f7ad 2011-07-17
+ edb9315 arm arm920t 716f7ad 2011-07-17
+ edb9315a arm arm920t 716f7ad 2011-07-17
+ xsengine ARM PXA2xx 4262a7c 2010-10-20
+ delta ARM PXA2xx 75e2035 2010-10-20
+ VoVPN-GW_100MHz powerpc MPC8260 26fe3d2 2010-10-24 Juergen Selent <
[email protected]>
+ spieval powerpc MPC5200 69434e4 2010-09-19
+ smmaco4 powerpc MPC5200 9ddc3af 2010-09-19
+ AmigaOneG3SE powerpc 74xx_7xx 953b7e6 2010-06-23